<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>期刊详情</title>
  <style>
    *{
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    html{
      font-size: 13.333333334vw;
      color: #5b767b;
      background-color: #fef6e1;
    }
    body{
      font-size: .36rem;
    }
    #app{
      width: 7rem;
      margin: .48rem auto;
    }
    .list_ul{
    }
    .list:active{
      opacity: .6;
    }
    .list{
      height: .55rem;
      line-height: .55rem;
      border-bottom: 1px solid #cfc9b7;
      text-indent: .1rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  </style>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
</head>
<body>
  <div id="app">
    想去哪找找 《{{decodeURI(name)}}》 的相关信息?
    <ul class="list_ul">
      <li class="list">
        <a class="link" target="_blank" :href="'http://coreej.cceu.org.cn:3410/sfxtst41/az?param_sid_save=&param_lang_save=chi-simplified&param_letter_group_save=&param_perform_save=locate&param_letter_group_script_save=&param_chinese_checkbox_save=&param_services2filter_save=getFullTxt&param_current_view_save=detail&param_pattern_save=&param_jumpToPage_save=&param_type_save=textSearch&param_pattern_value='+ name +'&param_textSearchType_value=contains&param_issn_value=&param_locate_category_active=1&param_vendor_value=&%E6%9F%A5%E8%AF%A2=%E6%9F%A5%E8%AF%A2'">中外文核心期刊查询（http://coreej.cceu.org.cn/）</a>
      </li>
      <li class="list">
        <a class="link" target="_blank" :href="'http://navi.cnki.net/KNavi/All.html?search='+ name">中国知网（http://navi.cnki.net）</a>
      </li>
      <li class="list">
        <a class="link" target="_blank" :href="'http://www.wanfangdata.com.cn/search/searchList.do?searchType=perioInfo&pageSize=20&searchWord='+ name">万方数据（http://www.wanfangdata.com.cn）</a>
      </li>
      <li class="list">
        <a class="link" target="_blank" :href="'http://cqvip.com/main/search.aspx?k='+ name +'&tid=7'">维普网（http://cqvip.com/）</a>
      </li>
      <li class="list">
        <a class="link" target="_blank" :href="'http://www.eshukan.com/searchresult.aspx?keywords='+ name +'&etypeid=0'">万维书刊网（http://www.eshukan.com）</a>
      </li>
      <li class="list">
        <a class="link" target="_blank" :href="'https://www.baidu.com/s?wd=期刊%20'+ name">百度</a>
      </li>
    </ul>
  </div>
  <script>
    var app = new Vue({
      el: '#app',
      data: {
        name: ''
      },
      mounted(){
        this.getName();
      },
      methods:{
        getName:function(){
          var that = this;
          var href = location.href;
          try {
            var name = href.split('?')[1].split('=')[1]
            that.name = name
          } catch (error) {
            alert('你要是看见这个了证明我代码出bug了')
          }
        }
      }
    })
  </script>
</body>
</html>